const Router = require( 'koa-router' );
const User = require('../Controllers/User.js');

const router = new Router();

// 登录接口
router.post('/api/login', User.login);

// 用户信息接口
router.get('/api/userInfo', User.userInfo)

module.exports = router;